﻿@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
@{
    Layout = null;//这里一定要设置
}
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <div style="border:2px solid #ffd800">
        <h1>I am Layout</h1>
        @RenderBody()
    </div>

    @Html.Partial("Shared/Footer")
    @RenderSection("scripts", false)
</body>
</html>